<%--
  Created by IntelliJ IDEA.
  User: haol
  Date: 2016/9/23
  Time: 21:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/common/meta.jsp" %>
    <script type="text/javascript" src="${ctx}/js/gcu/money/list.js"></script>
</head>
<body class="body_owner_list">
<ul class="breadcrumb">
    <li class="icon"></li>
    <li>您所在的位置：</li>
    <li>系统设置</li>
    <li>申请表管理</li>
</ul>
<%@ include file="/common/top.jsp" %>
<div class="widget widget-table">
    <div class="widget-content" id="formDiv">
        <form>
            <table class="table table-bordered">
                <tr>
                    <th>楼宇号</th>
                    <td class="pn-fcontent">
                        <select name="buildName" class="form-control">
                            <option value="">全部</option>
                            <c:forEach var="builds" items="${build_list}">
                                <option value="${builds.buildName}">${builds.buildName}</option>
                            </c:forEach>
                        </select>
                    </td>
                    <th>房间号</th>
                    <td class="pn-fcontent"><input type="text" name="required" class="form-control"></td>
                    <th>缴费是否过期</th>
                    <td>
                        <select name="isDeadLine" class="form-control">
                            <option value="">全部</option>
                            <option value="1">正常</option>
                            <option value="0">超期</option>
                        </select>
                    </td>
                </tr>
            </table>
            <div class="widget-bottom">
                <%--     <button type="button" class="btn btn-info pull-right" id="freshenBtn">刷新</button>--%>
                <button type="submit" class="btn btn-info pull-right" id="searchBtn">搜索</button>
                <button type="button" class="btn btn-s-md pull-right" id="clearBtn">清空</button>
            </div>
        </form>
    </div>
</div>
<div class="separator line"></div>
<div class="widget widget-table">
    <div class="widget-content widget-list">
        <form id="myForm">
            <table class="table table-striped table-bordered">
                <thead>
                <div class="panel-heading"><span class="badge">物业费收缴列表</span></div>
                <tr>
                    <th>序号</th>
                    <th>楼宇名</th>
                    <th>房间号</th>
                    <th>开始日期</th>
                    <th>截止日期</th>
                    <th>创建时间</th>
                    <th>物业费金额(年/元)</th>
                    <th>是否超期</th>
                    <th>操作</th>
                </tr>
                <c:if test="${empty moneyList}">
                    <tr class='text-danger'>
                        <td colspan='9' align='center'>无数据存在！</td>
                    </tr>
                </c:if>
                <c:forEach var="moneys" items="${moneyList}" varStatus="status">
                    <tr>
                        <td>${status.count}</td>
                        <td>${moneys.buildName}</td>
                        <td>${moneys.roomNum}</td>
                        <td>${moneys.payBeginTime}</td>
                        <td>${moneys.payEndTime}</td>
                        <td>${moneys.createTime}</td>
                        <td>${moneys.payMoney}</td>
                        <td>
                            <c:if test="${moneys.isDeadLine eq 0}">超期</c:if>
                            <c:if test="${moneys.isDeadLine eq 1}">正常</c:if>
                        </td>

                        <td>
                            <a href="${ctx}/money/edit/${moneys.ownerId}"><span
                                    class="label label-primary">详情</span></a>
                            <a href="${ctx}/money/del/${moneys.id}"><span class="label label-danger">删除</span></a>
                        </td>
                    </tr>
                </c:forEach>
                </thead>
            </table>
        <div class="widget-bottom">
            <jsp:include page="/common/pager.jsp">
                <jsp:param value="users" name="url"/>
                <jsp:param value="${pagers.total}" name="items"/>
            </jsp:include>
        </div>
        </form>
        <div class="widget-bottom">
        </div>
    </div>
</div>
</div>
</body>
</html>
<!-- 每行模版 -->